package suzf.top.mall.ui.activity

import android.os.Bundle
import kotlinx.android.synthetic.main.activity_setting.*
import suzf.top.base.ext.onClick
import suzf.top.base.ui.activity.BaseActivity
import suzf.top.mall.R
import suzf.top.usercenter.utils.UserPrefsUtils

/**
 *  设置界面
 *========================
 * Created with AndroidStudio
 * Author:Mr.Su
 * Date:2019-09-24
 * Time:11:32
 * ========================
 */
class SettingActivity: BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_setting)
        mLogoutBtn.onClick {
            UserPrefsUtils.putUserInfo(null)
            finish()
        }
    }
}